home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
qlib205.zip
/
QLIB.ZIP
/
TEST
/
LOCKRAM.ASM
< prev
next >
Wrap
Assembly Source File
|
1997-01-08
|
387b
|
21 lines
;this takes forever under win95 (like 3 mins) and sometimes crashes
; locking all RAM is not recomended (see lock.asm in the \lib\src dir)
include qlib.inc
include stdio.inc
include alloc.inc
.code
main proc
callp coreleft
callp printf,"Total RAM =%i\n",eax
callp printf,"Locking RAM..."
callp lock_all,1
callp printf,"%i\n",eax
ret
main endp
end